__author__ = 'golker'

import pkgutil
import importlib

import os
from flask import Blueprint
# print os.path.dirname(__file__)
# print __file__
rv = []
# for _, name, _ in pkgutil.iter_modules(path='/home/golker/golsee/golsee/a.p'):
#    print name
# m = importlib.import_module('%s.%s' % ('golsee', name))
# for item in dir(m):
#    item = getattr(m, item)
#    rv.append(item)

for module_loader, name, ispkg in pkgutil.iter_modules(path=['/home/golker/golsee/golsee']):
    print module_loader, name, ispkg
